import { createAPI } from '@/utils/request'

// 获取组题列表
export const getRandomsList = data => createAPI('questions/randoms/', 'get', data)

// 根据id删除组题
export const delRandomsById = data => createAPI(`/questions/randoms/${data.id}`, 'DELETE', data)

/// 根据id获取组题详情
export const getRandomsDetails = data => createAPI(`/questions/${data.id}`, 'get', data)
